home *** CD-ROM | disk | FTP | other *** search
- Path: il.ft.hse.nl!not-for-mail
- From: robert@il.ft.hse.nl (robert)
- Newsgroups: comp.lang.c
- Subject: Re: using pipe() and dup2??????
- Date: 4 Mar 1996 10:13:57 +0100
- Organization: LSD...melts in your mind, not in your hand
- Message-ID: <4hec8l$rg3@charm.il.ft.hse.nl>
- References: <4h21f7$osc@maltese.eag.unisysgsg.com> <4h3sbq$n35@charm.il.ft.hse.nl> <4h8c6b$n9g@clarknet.clark.net>
- NNTP-Posting-Host: charm.il.ft.hse.nl
-
- eamick@clark.net (Eric Amick):
- >robert (robert@il.ft.hse.nl) wrote:
- >>You should try popen(), which works much easier:
- >>After this, you can use fp with most file-stream functions (fread(), fgets(),
- >>fclose()).
- >pclose(), not fclose(), is used to close the stream pointer created by
- >popen().
-
- Oops, you're quite right :)
-
- robert
-